﻿using System;

namespace Zdap.XCode.Service
{
    /// <summary>
    /// Dto 基类
    /// </summary>
    public class DtoBase
    {
        /// <summary>
        /// 唯一 id
        /// </summary>
        public long Id { get; set; }
    }

    /// <summary>
    /// IBase 基类
    /// </summary>
    public interface IBase
    {
        /// <summary>
        /// 唯一 id
        /// </summary>
        public long Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public long CreateBy { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新人
        /// </summary>
        public long UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }

    /// <summary>
    ///
    /// </summary>
    public class DtoCaseBase : DtoBase
    {
        /// <summary>
        /// 案例Id
        /// </summary>
        public long CaseId { get; set; }

        /// <summary>
        /// 租户Id
        /// </summary>
        public long TenantId { get; set; }
    }
}